Bruno Rodrigues, head of the statistics department at the Ministry of Research and Higher Education in Luxembourg
Slides available online:
https://b-rodrigues.github.io/repro_oak_ridge
Code available here:
The puzzle you know:
The puzzle with Nix:
{renv} or {groundhog}: simple to use, but:
Package manager: tool for installing and managing packages
Package: any software (not just R packages)
A popular package manager:
{rix} (website) simplifies writing Nix expressions!rix() function:renv.lock files can also serve as a starting point:rix::rix() generates a default.nix filenix-build (in terminal) or rix::nix_build() from Rnix-shell"dplyr@1.0.0")rix() supports Python and Julia alongside R:jl_conf = list(jl_version = "1.10", jl_pkgs = c(...))scripts/nix_expressions/02_native_positron_example/scripts/nix_expressions/01_rix_intro/scripts/nix_expressions/02_native_positron_example/{targets}: scripts/nix_expressions/03_nix_targets_pipelinescripts/nix_expressions/04_docker/{shiny}: scripts/nix_expressions/05_shiny{rixpress}{rixpress} allows chaining processing steps in R and Python{rix} to create a reproducible (via Nix) execution environment for the pipelinereticulate or universal format (JSON)py, r, r2py, etc.)functions.R, images…)Contact me if you have questions:
Thanks!